import Http  from './http';
import Api  from './api';

class GameService {

  static gameStart(data) {
    return Http.request({
      url:Api.Game.gameStart,
      method:'POST',
      data:data
    });
  }

  static gameSuccess(data) {
    return Http.request({
      url:Api.Game.gameSuccess,
      method:'POST',
      data:data
    });
  }

  static gameFail(data) {
    return Http.request({
      url:Api.Game.gameFail,
      method:'POST',
      data:data
    });
  }

}
export default GameService;
